package cn.kgc.itrip.mapper.itripAreaDic;

import cn.kgc.itrip.beans.model.pojo.ItripAreaDic;
import cn.kgc.itrip.beans.model.vo.ItripAreaDicVO;
import cn.kgc.itrip.beans.model.vo.ItripLabelDicVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripAreaDicMapper {

	public ItripAreaDic getItripAreaDicById(@Param(value = "id") Long id)throws Exception;

	public List<ItripAreaDic>	getItripAreaDicListByMap(Map<String,Object> param)throws Exception;

	public Integer getItripAreaDicCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertItripAreaDic(ItripAreaDic itripAreaDic)throws Exception;

	public Integer updateItripAreaDic(ItripAreaDic itripAreaDic)throws Exception;

	public Integer deleteItripAreaDicById(@Param(value = "id") Long id)throws Exception;


	List<ItripAreaDicVO> queryTradeArea(Integer cityId);

	List<ItripAreaDicVO> queryhotcity(Integer type);
	/**
	 * 查询商圈
	 */

	List<String>queryHotelBusiness(@Param("hotelId") long hotelId);

	/**
	 * 查询酒店特色
	 */
	List<String>queryHotelCharacteristic(@Param("hotelId") long hotelId);

	/**
	 * 获取旅游类型列表
	 */
	List<ItripLabelDicVo>querytraveltype();
}
